home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / vbcc / machines / amiga68k / libsrc / stdio / vsscanf.c < prev   
Encoding:
C/C++ Source or Header  |  1995-10-11  |  262 b   |  13 lines

  1. #include <stdio.h>
  2. #include <stdarg.h>
  3.  
  4. int vsscanf(const char *s,const char *format,va_list vl)
  5. {
  6.     FILE f;
  7.     f.flags=_READABLE|_READ;
  8.     f.base=f.pointer=(char *)s;
  9.     f.bufsize=f.count=strlen(s);
  10.     f.filehandle=0;
  11.     return(vfscanf(&f,format,vl));
  12. }
  13.